import 'package:flutter/material.dart';
import 'package:niu_app/configs/app_style_config.dart';
import 'package:niu_app/pages/model/homepage/team_model.dart';
import 'package:niu_app/views/jk/jk_text.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class teamWidget extends StatelessWidget {
  final teammodel datamodel;

  const teamWidget({Key key, this.datamodel}) : super(key: key);



  @override
  Widget build(BuildContext context) {
    return Container(
      child:top(),
    );
  }
  Widget top(){
    return Container(

      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          JKText(
            data: "${datamodel.title}",
            fontSize: 12.w,
            color: AppStyleConfig.color2,
          ),
          JKText(
            data: "${datamodel.number}",
            fontSize: 16.w,
            weight: FontWeight.bold,
          ),
        ],
      ),
    );
  }

}

